﻿@using HouseHoldBudget.App_GlobalResources
@using HouseHoldBudget.Framework
@model HouseHoldBudget.Models.Budgets.BudgetModel
@{
    ViewBag.Title = @CustomResources.Budget_EditBudgetTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@using (Html.BeginForm())
{
    <div class="section-header">
        <div class="title">
            <img src="@Url.Content("~/Content/images/budget.png")" alt="" />
            @CustomResources.Budget_EditBudgetTitle @Html.ActionLink("(" + @CustomResources.Common_BackToList + ")", "ManageMyBudgets")
        </div>
        <div class="options">
            <input type="submit" name="save" class="k-button" value="@CustomResources.Common_Save" />
            <input type="submit" name="save-continue" class="k-button" value="@CustomResources.Common_SaveAndContinue" />
@*            <input type="submit" name="delete-budget" class="k-button">@CustomResources.Common_Delete />*@
        </div>
    </div>
    @Html.Partial("_CreateOrUpdateBudget", Model)
}

@Html.DeleteConfirmation("delete-budget")